home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
language
/
c68_443b.lzh
/
SRC
/
HELLO.C
next >
Wrap
C/C++ Source or Header
|
1994-08-04
|
373b
|
10 lines
/* The inevitable hello world program...
*
* I found this one while reading news and modified it slightly
* in order to avoid the CR/LF problem. Compile with -lm.
*/
float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||(
h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++_==L&&printf("%.1s",(--s%L?_<L?
--_%6:6:7)+"World! \n")&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}